package com.basic.business.memoRelation.domain;

import com.basic.common.core.domain.BaseEntity;
import lombok.Getter;
import lombok.Setter;
import cn.idev.excel.annotation.ExcelProperty;
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import com.basic.common.utils.StringUtils;
import com.basic.common.utils.uuid.ULID;

/**
 * 备注关系对象 t_orders_memo
 * 
 * @author zhaoxy_jn@163.com
 * @date 2025-04-23
 */
@Getter
@Setter
@ExcelIgnoreUnannotated
public class TOrdersMemoRelation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String id;

    /** 平台卖家备注 */
    @ExcelProperty(value = "平台卖家备注")
    private String sellerMemo;

    /** SMB路径 */
    @ExcelProperty(value = "SMB路径")
    private String smbPath;

    /** 状态 正常：NORMAL 删除：DELETED */
    @ExcelProperty(value = "状态 正常：NORMAL 删除：DELETED")
    private String memoStatus;

    public void setId(String id) {
        this.id = StringUtils.isNotEmpty(id) ? id : ULID.getId();
    }
}
